package com.commonlover.controller;

import com.alibaba.fastjson.JSONObject;
import com.commonlover.result.WebResult;
import com.commonlover.service.LoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class LoginController {

    @Autowired
    private LoginService loginService;

    @PostMapping("login")
    public WebResult<JSONObject> login() {
        return WebResult.<JSONObject>builder()
                .code(200)
                .build();
    }
}
